package 建造者模式;

/**
 * 产品
 */
public class Product {

    private String fileHead;

    private String fileBody;

    private String fileTail;

    public Product() {
    }

    public Product(String fileHead, String fileBody, String fileTail) {
        this.fileHead = fileHead;
        this.fileBody = fileBody;
        this.fileTail = fileTail;
    }

    public String getFileHead() {
        return fileHead;
    }

    public void setFileHead(String fileHead) {
        this.fileHead = fileHead;
    }

    public String getFileBody() {
        return fileBody;
    }

    public void setFileBody(String fileBody) {
        this.fileBody = fileBody;
    }

    public String getFileTail() {
        return fileTail;
    }

    public void setFileTail(String fileTail) {
        this.fileTail = fileTail;
    }

    @Override
    public String toString() {
        return "Product{" +
                "fileHead='" + fileHead + '\'' +
                ", fileBody='" + fileBody + '\'' +
                ", fileTail='" + fileTail + '\'' +
                '}';
    }
}
